package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.entity.NursingProject;
import org.apache.ibatis.annotations.Mapper;

// 护理项目Mapper接口
@Mapper
public interface NursingProjectMapper {

    //分页
    Page<NursingProject> selectByPage(String name, Integer status);

    //新增
    void insert(NursingProject nursingProject);

    //查询
    NursingProject selectById(Long id);

    //修改
    void updateNursingProject(NursingProject nursingProject);

    //启用禁用
    void updateStatus(Long id, Integer status);

    void deleteById(Long id);

    NursingProject getAll();
}